package online.longzipeng.modules.app.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: lzp
 * @description:
 * @Date: 2023/1/2
 */

@RestController
@RequestMapping("/app/version")
@Api(tags = "app版本管理相关接口")
public class VersionController {

	@PostMapping("/search")
	@ApiOperation("搜索")
	@RequiresPermissions("app:version:search")
	public String search() {
		return "你触发了版本管理的查询接口";
	}

}

